<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath(); 
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="<%=path%>/css/monowebs.css">
<title>심플룸객실 정보</title>
</head>
<%
	HashMap data = null;
	if(request.getAttribute("data")!=null){
		data = (HashMap)request.getAttribute("data");
	}
	String[][] summer = {
				{"비수기",data.get("R_WEEK").toString(),data.get("R_WEEKEND").toString()},
				{"여름성수기",data.get("R_SWEEK").toString(),data.get("R_SWEEKEND").toString()},
				{"겨울성수기",data.get("R_WWEEK").toString(),data.get("R_WWEEKEND").toString()}
			};
	
%>
<body>
<div id="wrap">
	<div id="room">
		<table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:30px;" class="one_table" summary="">
			<colgroup>
			<col width="100%">
			</colgroup>
			<tbody>
			<tr>
				<td class="title_td">
					<div id="room_img" style="float:left">
						<div id="roomimg_title"><img src="<%=path%>/images/jum1.gif" width="13" height="11" border="0" alt=""> <span class="text1"><%=data.get("R_NAME") %></span> <span class="text2">| <%=data.get("R_SIZE") %>평</span></div>
						<div id="roomimg_img"><img src="http://h-ps011u.monowebs.co.kr/upfiles/room/13461218742.jpg" width="165" height="130" border="0" alt=""></div>
					</div>
					<div id="room_info" style="float:left">
						<div id="roominfo_title"><img src="<%=path%>/images/icon_arrow_pen.gif" width="8" height="7" border="0" alt=""><%=data.get("R_COMMENT") %></div>
						<div id="roominfo_cell"></div>
						<div id="roominfo_info1">
							<table cellpadding="0" cellspacing="0" border="0" width="100%" class="roominfo_table" summary="">
								<colgroup>
								<col width="30%">
								<col width="17%">
								<col width="17%">
								<col width="18%">
								<col width="18%">
								</colgroup>
								<tbody>
								<tr>
									<td class="title">객실명</td>
									<td class="title">면적</td>
									<td class="title">객실수</td>
									<td class="title">기준인원</td>
									<td class="title border_Rno">최대인원</td>
								</tr>
								<tr>
									<td class="roomname border_Bno"><%=data.get("R_NAME") %></td>
									<td class="cont border_Bno"><%=data.get("R_NAME") %>평</td>
									<td class="cont border_Bno">1 실</td>
									<td class="cont border_Bno"><%=data.get("R_MIN") %>명</td>
									<td class="cont border_RBno"><%=data.get("R_MAX") %>명</td>
								</tr>
								</tbody>
							</table>
						</div>
						<div id="roominfo_cell1"></div>
						<div id="roominfo_info2">
							<table cellpadding="0" cellspacing="0" border="0" width="100%" class="roominfo_table1" summary="">
								<colgroup>
								<col width="25%">
								<col width="25%">
								<col width="25%">
								
								</colgroup>
								<tbody>
								<%for(int i=0;i<summer.length;i++) {%>
									<tr>
										<td class="title"><%=summer[i][0]%></td>
										<td class="cont">주중 : <span class="pay_text"><%=summer[i][1] %></span></td>
										<td class="cont">주말 : <span class="pay_text"><%=summer[i][2] %></span></td>
									</tr>
								<%} %>
								</tbody>
							</table>
						</div>
						<div id="roominfo_icon"><%=data.get("R_OPTION") %></div>
						<div id="close_btn"><a href="javascript:window.close();"><img src="<%=path%>/images/btn_close.gif" width="68" height="20" border="0" alt=""></a></div>
					</div>
				</td>
			</tr>
			</tbody>
		</table>
	</div>
</div>


</body></html>